cod_get_user_resistance

Syntax

native cod_get_user_resistance(id, type = ALL);

Usage

id
Player index
type
Bonus type, valid types are:
ALL - overall
CLASS - for class
ITEM - for item
ADDITIONAL - static bonus
ROUND - until round end
DEATH - until death
DAMAGE_GIVEN - until player damage enemy
DAMAGE_TAKEN - until player is hurt

Description

Returns if player has resistance for skills.

Return

1 if player has resistance, 0 otherwise